import store from '@/store/store'
import layout from '../components/layout.vue'

export default [
    {
        path: '/dataBoard',
        name: 'dataBoard',
        component: layout,
        children: [
            {
                path: '/dataBoard/pieceReport',
                name: 'pieceReport ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/pieceReport/index.vue'),
            },
            {
                path: '/dataBoard/oeeBoard',
                name: 'oeeBoard ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/oeeBoard/index.vue'),
            },
            {
                path: '/dataBoard/produceBoard',
                name: 'produceBoard ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/produceBoard/index.vue'),
            },
            {
                path: '/dataBoard/moldMaintenance',
                name: 'moldMaintenance ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/moldMaintenance/index.vue'),
            },
            {
                path: '/dataBoard/deviceMaintenance',
                name: 'deviceMaintenance ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/deviceMaintenance/index.vue'),
            },
            {
                path: '/dataBoard/pieceSummary',
                name: 'pieceSummary ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/pieceSummary/index.vue'),
            },
            {
                path: '/dataBoard/dailyProduction',
                name: 'dailyProduction ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/dailyProduction/index.vue'),
            },
            {
                path: '/dataBoard/stampingDailyProduction',
                name: 'stampingDailyProduction ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/stampingDailyProduction/index.vue'),
            },
            {
                path: '/dataBoard/marketing',
                name: 'marketing ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/marketing/index.vue'),
            },
            {
                path: '/dataBoard/lostWorkingHours',
                name: 'lostWorkingHours ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/lostWorkingHours/index.vue'),
            },
            {
                path: '/dataBoard/benchmarkActualAnalysis',
                name: 'benchmarkActualAnalysis ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/benchmarkActualAnalysis/index.vue'),
            },
            {
                path: '/dataBoard/orderProductionReport',
                name: 'orderProductionReport ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/orderProductionReport/index.vue'),
            },
            {
                path: '/dataBoard/modalLossStatistics',
                name: 'modalLossStatistics ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/modalLossStatistics/index.vue'),
            },
            {
                path: '/dataBoard/productionStatusTracking',
                name: 'productionStatusTracking ',
                meta: {
                    title: store.state.title
                },
                component: () => import('../views/dataBoard/productionStatusTracking/index.vue'),
            },
        ]
    },
]